Skip to content

Conversation

Akronix
Copy link

@Akronix Akronix commented Aug 1, 2025

This change introduces a constant THUMB_SIZE to control the size of the scrollbar thumb, making it easier to adjust its appearance.

What I have done and why:

I just added a const variable to set the size of the scrollbar thumb, as I see it convenient to be able adapt it.

This change introduces a constant `THUMB_SIZE` to control the size of the scrollbar thumb, making it easier to adjust its appearance.
@Akronix Akronix requested a review from dturner as a code owner August 1, 2025 16:26
@Jaehwa-Noh
Copy link
Contributor

What about split width and height?
Currently, your modify always sets square.

@Akronix
Copy link
Author

Akronix commented Sep 30, 2025

@Jaehwa-Noh it is not square, the thumb "height" is determined from the amount of items in the list, whereas the width is what we are setting here. It just changes the other way around if the Orientation of the screen is horizontal instead of vertical.

@Jaehwa-Noh
Copy link
Contributor

@Akronix You're right. I am missing the when clause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants